home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
sound
/
rukc10.zip
/
BORLAND.ZIP
/
BCFIX.BAT
next >
Wrap
DOS Batch File
|
1993-03-06
|
1KB
|
31 lines
@echo off
cls
echo.
echo Borland fix patch. 06-Mar-93.
echo.
echo LIB.EXE needs to be in the PATH and RUCKDAC.LIB, RUCKMIDI.LIB,
echo DACMEMBC.OBJ and MIDMEMBC.OBJ need to be in the current directory.
echo.
echo This patch will create two new LIB files: BUCKDAC.LIB and BUCKMIDI.LIB.
echo These files are exactly the same as the original LIBs except that the
echo memory allocation module is replaced with one that uses _malloc rather
echo than DOS INT48 for memory allocations.
echo.
echo If all is not ready press Ctrl-C to exit to DOS or, if all is go...
pause
echo.
if not exist ruckdac.lib goto nogo
if not exist ruckmidi.lib goto nogo
lib ruckdac -dacmem +dacmembc,nul,BUCKDAC;
if errorlevel==1 goto nogo
lib ruckmidi -midimem +midmembc,nul,BUCKMIDI;
if errorlevel==1 goto nogo
echo.
echo BUCKDAC.LIB and BUCKMIDI.LIB created.
goto done
:nogo
echo.
echo Error! New LIBs were not created properly.
if exist BUCKDAC.LIB del BUCKDAC.LIB
if exist BUCKMIDI.LIB del BUCKMIDI.LIB
:done